<div class="todo-item" [ngStyle]="statusStyle">
    <a [routerLink]="['/todo-detail',item.id]">{{item.text}}</a>
    <div class="item-status">{{itemStatus}}</div>
    <div class="delete-icon" (click)="deleteItem()">X</div>
</div>